package com.xyht.sca_s.student_manage_system.modules.questionnaire.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.questionnaire.entity.SmsQuestionnaire;
import com.xyht.sca_s.student_manage_system.modules.questionnaire.entity.req.SmsQuestionnaireConfirmReq;
import com.xyht.sca_s.student_manage_system.modules.questionnaire.entity.req.SmsQuestionnaireReq;

/**
 * <p>
 * 投票问卷 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-01-29
 */
public interface SmsQuestionnaireService extends IService<SmsQuestionnaire> {
        ResponseResult addPublishQuestionnaire(SmsQuestionnaireReq smsQuestionnaireReq,String user_id);
        ResponseResult addDraftQuestionnaire();
        ResponseResult updateQuestionnaire();

        ResponseResult getWebQuestionnaire(String user_id,Integer pageNum,Integer pageSize,String searchStr,Integer timeoutFlag);
        ResponseResult getWebQuestionnaireHistory(String user_id,Integer pageNum,Integer pageSize,String searchStr);
        ResponseResult getIncompleteQuestionnaireDetail(String ques_id,String user_id);
        ResponseResult getCompleteQuestionnaireDetail(String ques_id,String user_id);
        ResponseResult getBackIncompleteQuestionnaireDetail(String ques_id);
        ResponseResult getBackCompleteQuestionnaireDetail(String ques_id,String user_id);
        ResponseResult getBackQuestionnaire(String user_id,Integer pageNum,Integer pageSize);
        ResponseResult getBackQuestionnaireCancel(String ques_id,String user_id);

        ResponseResult getBackQuestionnaireSubmitList(String user_id,Integer pageNum,Integer pageSize);

        ResponseResult submitQuestionnaire(SmsQuestionnaireConfirmReq submitQuestionnaire,String user_id);
}
